package nicg.st.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @author GeChen
 * @Description 思维导图树形结构VO
 * @date 2019/11/3 23:13
 */
public class TreeMindVO {
    private String name;
    private Double value;
    private List<TreeMindVO> children;
    private Integer parentId;
    private Integer id;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getValue() {
		return value;
	}
	public void setValue(Double value) {
		this.value = value;
	}
	public List<TreeMindVO> getChildren() {
		return children;
	}
	public void setChildren(List<TreeMindVO> children) {
		this.children = children;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "TreeMindVO [name=" + name + ", value=" + value + ", children="
				+ children + ", parentId=" + parentId + ", id=" + id + "]";
	}
    
}
